import { Select, Option, OptionGroup, Input, Tree, Dialog, Row, Col ,Form ,FormItem ,Button ,Message,Main,Dropdown,Radio,RadioGroup,DatePicker
  ,DropdownItem,DropdownMenu,Avatar,Header,Container,MenuItem,Menu,Aside,Loading,Submenu,Table,TableColumn,Pagination,Switch,InputNumber,MessageBox} from 'element-ui'
import Vue from 'vue'
const element = {
  install: function (Vue) {
    Vue.use(Select)
    Vue.use(Option)
    Vue.use(OptionGroup)
    Vue.use(Input)
    Vue.use(Tree)
    Vue.use(Dialog)
    Vue.use(Row)
    Vue.use(Col)
    Vue.use(Form)
    Vue.use(FormItem)
    Vue.use(Button)
    Vue.use(Main)
    Vue.use(Dropdown)
    Vue.use(DropdownItem)
    Vue.use(DropdownMenu)
    Vue.use(FormItem)
    Vue.use(Avatar)
    Vue.use(Header)
    Vue.use(Container)
    Vue.use(Menu)
    Vue.use(MenuItem)
    Vue.use(Aside)
    Vue.use(Submenu)
    Vue.use(Table)
    Vue.use(TableColumn)
    Vue.use(Pagination)
    Vue.use(Switch)
    Vue.use(InputNumber)
    Vue.use(Radio)
    Vue.use(RadioGroup)
    Vue.use(DatePicker)
    Vue.use(Loading)
    Vue.prototype.$message = Message
    Vue.prototype.$confirm = MessageBox.confirm
  }
}
export default element